<?php


require 'db_conn.php';

$sql="SELECT * FROM buy where isshow=1 and id=1 ORDER BY id desc";
$buy=$db->query($sql);
$bu=$buy->fetch_assoc();

$sql="SELECT * FROM buy where isshow=1 and id=2 ORDER BY id desc";
$we=$db->query($sql);
$b=$we->fetch_assoc();

$sql="SELECT * FROM buy where isshow=1 and id=3 ORDER BY id desc";
$rt=$db->query($sql);
$bc=$rt->fetch_assoc();

$sql="SELECT * FROM buy where isshow=1 ORDER BY id desc limit 4,100";
$yu=$db->query($sql);
$bcd=$yu->fetch_all(MYSQLI_BOTH);


require 'buy_html.php';
